package com.dk.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wbh
 * @since 2023-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pd_relater_product_bom")
public class RelaterProductBom implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关联产品编号
     */
    @TableField("related_product_id")
    private Integer relatedProductId;

    /**
     * bom_id
     */
    @TableField("bom_id")
    private String bomId;

    /**
     * bom名称
     */
    @TableField("bom_name")
    private String bomName;

    /**
     * bom单位
     */
    @TableField("bom_unit")
    private String bomUnit;

    /**
     * bom规格
     */
    @TableField("bom_spec")
    private String bomSpec;

    /**
     * bom比例
     */
    @TableField("bom_ratio")
    private String bomRatio;


}
